// XMap.cpp : Defines the entry point for the console application.
//

#include "s-int.h"


int _tmain(int argc, _TCHAR* argv[])
{
	wifstream fs("script.cmd", ios::in);
	wchar_t s[MAX_CHAR];

	while(fs.getline(s, MAX_CHAR))
	{
		if(String::Length(s) == 0)
			continue;

		Process::StartWithInjection(
			NULL,
			s,
			DLL_X509L,
			NULL);

		Sleep(1000);
	}


	fs.close();
	return 0;
}

